home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 2410 / 2410.xpi / chrome / content / foxmarks-ownserverdlg.xul < prev    next >
Extensible Markup Language  |  2010-01-28  |  2KB  |  59 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.  
  5.  Copyright 2005-2008 Foxmarks Inc.
  6.  
  7.  foxmarks-ownserverdlg.xul: implements the dialog that appears when
  8.  a user sets up their own server.
  9.  
  10. -->
  11.  
  12. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  13. <?xml-stylesheet href="chrome://foxmarks/skin/foxmarks.css" type="text/css" ?>
  14.  
  15. <!DOCTYPE dialog SYSTEM "chrome://foxmarks/locale/foxmarks.dtd">
  16.  
  17. <dialog id="foxmarks-ownserver" title="&ownserver.title;"
  18.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  19.     buttons="accept,cancel"
  20.     defaultButton="accept"
  21.     ondialogcancel="return ownServerCancel();"
  22.     onload="ownServerLoad();"
  23.     ondialogaccept="return ownServerOK();"
  24.     moveToAlertPosition="true">
  25.  
  26.     <script src="foxmarks-settings.js" />
  27.     <script src="foxmarks-log.js" />
  28.     <script src="foxmarks-uitools.js" />
  29.     <script src="foxmarks-ownserverdlg.js" />
  30.  
  31.     <hbox>
  32.         <vbox>
  33.             <label value="&ownserver.title;"
  34.                     style="margin-bottom: .5em; 
  35.                     font-weight: bold; 
  36.                     text-transform: uppercase;
  37.                     padding-left: .5em;"
  38.             />
  39.             <vbox style="width: 40em; padding: 1em 1em 1.5em 1em;">
  40.                 <description> 
  41.                     &ownserver.desc;
  42.                 </description>
  43.                 <groupbox>
  44.                     <hbox align="center">
  45.                         <spacer style="width: 1.275em" />
  46.                         <label id="useown-url-label" value="&label.url;" minwidth="90"/>
  47.                         <textbox id="url" flex="1" preference="foxmarks-url" />
  48.                     </hbox>
  49.                     <hbox align="center">
  50.                         <spacer style="width: 1.275em" />
  51.                         <label id="useown-passwordurl-label" value="&label.passwordurl;" minwidth="90"/>
  52.                         <textbox id="passwordurl" flex="1" preference="foxmarks-passwordurl" />
  53.                     </hbox>
  54.                 </groupbox>
  55.             </vbox>
  56.         </vbox>
  57.      </hbox>
  58. </dialog>
  59.